Skip to content

Expose iova management and dma_map api in vfio mem utils to users#124

Closed
Wangl56 wants to merge 1 commit intointel:mainfrom
Wangl56:iova_dma_api_expose
Closed

Expose iova management and dma_map api in vfio mem utils to users#124
Wangl56 wants to merge 1 commit intointel:mainfrom
Wangl56:iova_dma_api_expose

Conversation

@Wangl56
Copy link

@Wangl56 Wangl56 commented Dec 4, 2025

This change is to expose the below APIs to user to let users be able to leverage them to map the user allocated memory to iova address and configure it to qat dma engine to avoid none-necessary memory copy when qat engine transfer data to user memory.
iova_release -> qae_iova_release
allocate_iova -> qae_allocate_iova
dma_map_slab -> qae_dma_map_slab
dma_unmap_slab -> qae_dma_unmap_slab

This change is to expose the below APIs to user to let users be able to
leverage them to map the user allocated memory to iova address and
configure it to qat dma engine to avoid none-necessary memory copy when
qat engine transfer data to user memory.
iova_release  -> qae_iova_release
allocate_iova -> qae_allocate_iova
dma_map_slab  -> qae_dma_map_slab
dma_unmap_slab -> qae_dma_unmap_slab
@gcabiddu
Copy link
Contributor

gcabiddu commented Jan 6, 2026

@Wangl56, can you check if the new APIs in #131 will work on your use case? Rather than 4 APIs, I consolidated them into 2.

@gcabiddu
Copy link
Contributor

gcabiddu commented Jan 7, 2026

Closing. Superseded by #124.

@gcabiddu gcabiddu closed this Jan 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants